package cn.appsys.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import cn.appsys.dao.DataDictionaryMapper;
import cn.appsys.pojo.DataDictionary;
import cn.appsys.service.DataDictionaryService;

@Service("dataDictionaryService")
public class DataDictionaryServiceImpl implements DataDictionaryService {

	@Autowired
	@Qualifier("dataDictionaryMapper")
	DataDictionaryMapper dataDictionaryMapper;

	@Override
	public List<DataDictionary> getTypeCode(String typeCode) {
		return dataDictionaryMapper.getTypeCode(typeCode);
	}

}
